package com.xt.purchasingsystem.mapper;


import com.xt.purchasingsystem.model.SPayDetails;

import java.util.List;

public interface SPayDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SPayDetails record);

    int insertSelective(SPayDetails record);

    SPayDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SPayDetails record);

    int updateByPrimaryKey(SPayDetails record);

    /**
     * 根据出库单编号查询此出库单所有出库明细
     * @param sPayId
     * @return
     */
    List<SPayDetails> getAllSpayDetailsBySpayId(Integer sPayId);
}